import Mock from "mockjs";
import homeApi from './mockData/home.js'
import userApi from './mockData/user.js'
import permissionApi from "./mockData/permission.js";

Mock.mock('/api/home/getData',homeApi.getHomeData)

Mock.mock(/user\/getUser/,'get',userApi.getUserList)
Mock.mock(/user\/add/,'post',userApi.createUser)
Mock.mock(/user\/edit/,'post',userApi.updateUser)
Mock.mock(/user\/delete/,'get',userApi.deleteUser)

Mock.mock(/permission\/getMenu/,'post',permissionApi.getMenu)
